Performing Aggregate Tasks

This section describes aggregate tasks that you can perform with a file-striping configuration, including the following:

Adding an Empty Aggregate to a Striped Aggregate

The storage aggregate addmember command expands a striped aggregate by adding an empty aggregate (that is, an aggregate that contains no volumes) to it. The command is available only at the advanced privilege level or higher. The command fails if you attempt to add an empty aggregate to a nonstriped aggregate, or if you attempt to add an aggregate that already contains volumes to a striped aggregate.

The following example adds an empty aggregate named striped_aggr_004 to a striped aggregate named striped_aggr:

node::> set -privilege advanced
 
 Warning: These advanced commands are potentially dangerous; use them only when
          directed to do so by Network Appliance personnel.
 Do you wish to continue? (y or n): y

node::*> storage aggregate addmember -aggregate striped_aggr
-flex-aggregate striped_aggr_004

Displaying Information about Member Aggregates

You can display information about the member aggregates that make up a striped aggregate by using the storage aggregate member show command. The following example displays information about all FlexVol and striped aggregates, then about the striped aggregates' member aggregates.

node::> storage aggregate show
Aggregate Size(MB) Used% State    #Vols Node(s)         RAID Type   RAID Status
aggr0_node16
          116262     88% online       1 node16          raid_dp     raid_dp
aggr0_node17
          116262     88% online       1 node17          raid_dp     raid_dp
aggr0_node22
          232542     44% online       1 node22          raid_dp     raid_dp
aggr0_node23
          232542     44% online       1 node23          raid_dp     raid_dp
striped_aggr
          5580876    40% online      19 node16,         raid_dp     raid_dp
                                        node17,
                                        node22,
                                        node23
node16_aggr1
          116262      0% online       2 node16          raid4       raid4

node::> storage aggregate member show
Aggregate Size(MB) Avail(MB) Used% State    #Vols Node            RAID Status
striped_aggr_000
          180710   178252       1% online       2 mdeux-5          raid_dp
striped_aggr_001
          180710   179481       1% online       1 mdeux-5          raid_dp
striped_aggr_002
          180710   179481       1% online       1 mdeux-5          raid_dp
striped_aggr_003
          180710   179481       1% online       1 mdeux-5          raid_dp

Adding Disks to a Member Aggregate

By using the storage aggregate member add command, you can add disks to a member aggregate to expand the member aggregate's and therefore the striped aggregate's capacity. The following example adds 14 disks to a member aggregate named striped_aggr_003:

node::> storage aggregate member add -aggregate striped_aggr_003
-diskcount 14

Modifying a Member Aggregate

If you want to modify a member aggregate's state, RAID type, or maximum RAID-set size, use the storage aggregate member modify command.

Note:

If one member aggregate is taken offline, its striped aggregate is automatically taken offline as well. All of a striped aggregate's member aggregates must be online for the striped aggregate to be online.

The following example sets a member aggregate named striped_aggr_002 to use the RAID type raid_dp and maximum number of 28 disks in a RAID set.

node::> storage aggregate member modify -aggregate striped_aggr_002
-raidtype raid_dp -maxraidsize 28

Scrubbing a Member Aggregate

You can scrub a member aggregate for errors by using the storage aggregate member scrub command. You can start, stop, pause, resume, and check the status of a scrub by using this command; see the command's reference page for more information. The following example starts a scrub of a member aggregate named striped_aggr_001:

node::> storage aggregate member scrub -aggregate striped_aggr_001
-action start